package cn.soft863.users.service.impl;

import java.util.List;
import java.util.Map;

import cn.soft863.common.util.PageInfoUtil;
import cn.soft863.users.dao.IAOrdersDao;
import cn.soft863.users.dao.impl.AOrdersDaoImpl;
import cn.soft863.users.pojo.AOrders;
import cn.soft863.users.service.OrdersService;

public class OrdersServiceImpl implements OrdersService
{

	private IAOrdersDao orderDao = new AOrdersDaoImpl();
	@Override
	public int saveOneorderService(AOrders order)
	{
		// TODO Auto-generated method stub
		return this.orderDao.saveOneDao(order);
	}

	@Override
	public int updateOneorderService(AOrders order)
	{
		// TODO Auto-generated method stub
		return this.orderDao.updateOneDao(order);
	}

	@Override
	public List<AOrders> findCondListorderService(PageInfoUtil pageInfoUtil, Map<String, Object> condMap)
	{
		// TODO Auto-generated method stub
		return this.orderDao.findCondListDao(pageInfoUtil, condMap);
	}

	@Override
	public AOrders findOneorderService(Map<String, Object> condMap)
	{
		// TODO Auto-generated method stub
		return this.orderDao.findOneDao(condMap);
	}

}
